<div class="PaperShelf-form">

  <%= error_messages_for 'teacher' %>
   
  <fieldset>
     <% form_for :teacher do |form| %>
    <legend>Add A Teacher With Name And Password</legend>

      <p>
        <label for="account">*Name:</label>
        <%= form.text_field :account, :size => 40 %>
      </p>

      

      <p>
        <label for="password">*Password:</label>
        <%= form.password_field :password, :size => 40 %>
      </p>

      <p>
        <label for="password_confirmation">*Confirm:</label>
        <%= form.password_field :password_confirmation, :size => 40 %>
      </p>

      <%= submit_tag "Add", :class => "submit" %>
       <% end %>  
     </fieldset>
 
</div>